/**
 * 
 */
package com.fish.service.user;

import java.util.List;
import java.util.Map;

import com.fish.common.constant.QueryPage;
import com.fish.user.po.Menus;
import com.fish.user.po.TreeBean;
import com.fish.user.po.User;

/**
 *
 */
public interface MenusService {
	/**
	 * 根据主键查询
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	Menus queryMenusByPrimaryKey(String menusId);

	/**
	 * 添加
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	void addMenus(Menus menus);
	
	/**
	 * 修改
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	void updateMenus(Menus menus);
	
	/**
	 * 模糊查询
	 * 
	 * @update clj 2010-9-20
	 */
	List<Menus> queryMenusByObject(Menus menus);
	
	public Long queryMenusCountByObject(Menus menus);
	
	public List<Menus> queryMenusByObject(Menus menus,QueryPage queryPage);
	
	TreeBean<Menus> queryMenusByUser(User userDB);
}
